//
//  RunLabelView.h
//  GLGW_Shoping
//
//  Created by yang on 2018/11/30.
//  Copyright © 2018年 yang. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^actionBlock)(NSInteger index);
NS_ASSUME_NONNULL_BEGIN

@interface RunLabelView : GLGWView

@property (nonatomic,strong) NSArray         *messageArray;

@property (nonatomic,strong) UIColor         *bgColor;

@property (nonatomic,assign) CGFloat          cornerRadius;

@property (nonatomic,assign) NSTimeInterval   scrollDuration;

@property (nonatomic,assign) NSTimeInterval   stayDuration;

- (void)setScrollDuration:(NSTimeInterval)scrollDuration stayDuration:(NSTimeInterval)stayDuration;

- (void)changeTapMarqueeAction:(actionBlock)action;

- (void)start;

- (void)stop;
@end

NS_ASSUME_NONNULL_END
